package com.tyqx.hashchainbiz.service;

import com.tyqx.hashchainbean.module.DonateCash;

import java.util.Date;
import java.util.List;
import java.util.concurrent.Future;

public interface DonateCashService {
    public Future<String> donateCash(DonateCash donateCash) throws Exception;

    public List<DonateCash> getDonateCashById(String donateId, String userName);

    public List<DonateCash> getDonateCashByTime(Date startTime, Date endTime, String userName);
}
